package com.equipment.management.dao;

import com.equipment.management.entity.SensorData;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public interface SensorDataDao {
    public int addData(SensorData sensorData);
    public List<SensorData> getAllData(@Param("date") String date, @Param("pageStart") int pageStart, @Param("pageSize") int pageSize);
    public int getDataCounts(@Param("date") String date);
}
